package com.yzy.fly.mapper;

import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface SinkMapper  {

//        extends BaseMapper<Sink> {

//    @Deprecated
//    @Select("select * from sink a where 1=1")
//    @Results(@Result(column = "config",property = "config",typeHandler= FastjsonTypeHandler.class))
//    List<Sink> selectAll();
//    @Select("select * from sink a where 1=1 and a.streamId = #{streamId}")
//    List<Sink> selectAllByStreamId(@Param("streamId") int streamId);
}